package com.dingwen.treasure.admin;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * 管理应用程序 <br>
 * <p>监控平台</p>
 * <ol>
 *     <li> 参考官网：自定义info、metrics、health、endpoint</li>
 *     <li> 邮件、钉钉预警</li>
 * </ol>
 * @author dingwen
 * @since  2022/04/10
 */
@SpringBootApplication
@EnableAdminServer
@Slf4j
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
        log.info("🌿🌿🌿🌿Treasure admin started successfully🌿🌿🌿🌿");
    }
}
